//
//  LKMyCommitApplyCell.m
//  YLHelper
//
//  Created by she1323 on 2018/5/10.
//  Copyright © 2018年 she1323. All rights reserved.
//

#import "LKMyCommitApplyCell.h"

@interface LKMyCommitApplyCell()
@property (weak, nonatomic) IBOutlet UILabel *approverLabel;
@property (weak, nonatomic) IBOutlet UILabel *timeLabel;

@end

@implementation LKMyCommitApplyCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.backgroundColor = cellHeaderBgColor;
    // Initialization code
}
-(void)setApproModel:(LKApprovaModel *)approModel{
    _approModel = approModel;
    
    self.approverLabel.text = [NSString stringWithFormat:@"申请审批人：%@",_approModel.applyUserName];
    self.timeLabel.text = [NSString stringWithFormat:@"提交时间：%@",_approModel.applyTimeTest];
    if (_approModel.customerName) {
        self.titleLabel.text = @"客户归属变更申请";
    }else{
        self.titleLabel.text = @"订单续投申请";
    }
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
